package com.example.qa.service.application.service;

import com.example.qa.service.application.port.in.GetqaByIdUseCase;
import com.example.qa.service.domain.qa;
import com.example.qa.service.domain.port.GetqaByIdPort;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class GetqaByIdService implements GetqaByIdUseCase {

    @Resource
    private GetqaByIdPort getqaByIdPort;
    @Override
    public qa getqaById(Long id) {
        return getqaByIdPort.getqaById(id);
    }
}
